import request from '@/utils/request'

// 查询队伍成员管理列表
export function listTeamStudent(query) {
  return request({
    url: '/buis/teamStudent/list',
    method: 'get',
    params: query
  })
}

// 查询队伍成员管理详细
export function getTeamStudent(id) {
  return request({
    url: '/buis/teamStudent/' + id,
    method: 'get'
  })
}

// 新增队伍成员管理
export function addTeamStudent(data) {
  return request({
    url: '/buis/teamStudent',
    method: 'post',
    data: data
  })
}

// 修改队伍成员管理
export function updateTeamStudent(data) {
  return request({
    url: '/buis/teamStudent',
    method: 'put',
    data: data
  })
}

// 删除队伍成员管理
export function delTeamStudent(id) {
  return request({
    url: '/buis/teamStudent/' + id,
    method: 'delete'
  })
}
